package com.nothing.emp.vo;


import java.util.Date;
import java.util.Set;

/*
* 员工实体类：与数据库员工表字段一一对应
* */
public class EmpVo {
    /*
    *   int、float、double 都使用包装类，为了防止数据库中Null数据，无法给基本数据类型赋值
    * */
    private Integer empNo;
    private String eName;
    private String job;
    private Integer mgr; //经理ID
    private Date hireDate;
    private Float sal;
    private Float comm;
    private Integer deptNo;//部门ID

    private String face;//头像


    public EmpVo(){}

    public Integer getEmpNo() {
        return empNo;
    }

    public void setEmpNo(Integer empNo) {
        this.empNo = empNo;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getMgr() {
        return mgr;
    }

    public void setMgr(Integer mgr) {
        this.mgr = mgr;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public Float getSal() {
        return sal;
    }

    public void setSal(Float sal) {
        this.sal = sal;
    }

    public Float getComm() {
        return comm;
    }

    public void setComm(Float comm) {
        this.comm = comm;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }
}
